<!DOCTYPE html>
<html>
<head>
    <title>成绩表</title>
    <style>
	    .form-control{
	     width: 68%;
	    }
	    .panel-body{
	     display: inline-flex;
	     width: 100%;
	    }
	    .form-group{
	      width: 33.33%;
	    }
	    .fanhui{
	    	float: center;
	    }
	
	</style>
	<link rel="stylesheet" href="../../../statics/css/sHover/example.css">
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div >
			<div class="grid-btn">
				<div class="form-group col-sm-2">
					<input type="text" class="form-control" v-model="q.examinationName"  @keyup.enter="query" placeholder="请输入考试名称">
				</div>
				<div class="form-group col-sm-2">
					<input type="text" class="form-control" v-model="q.studentName" @keyup.enter="query" placeholder="请输入学生名称">
				</div>
				<div class="form-group col-sm-2">
					<input type="text" class="form-control"  v-model="q.deptName" @click="deptTree" readonly="readonly" placeholder="所属部门">
				</div>
			</div>
			<div class="grid-btn">
				<a class="btn btn-default" @click="query" @keyup.enter="query">查询</a>

				<a class="btn btn-warning" @click="clear">清空</a>

				<a class="btn btn-primary" @click="detail"><i class="fa fa-pencil-square-o"></i>&nbsp;详情</a>
				<#if shiro.hasPermission("sys:escore:save")>
				<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
				</#if>
				<#if shiro.hasPermission("sys:escore:update")>
				<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
				</#if>

				<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>


				<a class="btn btn-primary" @click="imp"><i class="fa fa-file-excel-o"></i>&nbsp;导出</a>
			</div>

        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

<!--     <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">单位编码，同部门中的dept_no</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.deptNo" placeholder="单位编码，同部门中的dept_no"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">考试id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.examinationId" placeholder="考试id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">试卷ID</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.paperId" placeholder="试卷ID"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">试卷名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.paperName" placeholder="试卷名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">随机答题试卷id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.paperProduceId" placeholder="随机答题试卷id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总分数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.score" placeholder="总分数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">单项选择题分数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.singleScore" placeholder="单项选择题分数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">多项选择题分数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.doubleScore" placeholder="多项选择题分数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">判断题分数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.judgmentScore" placeholder="判断题分数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">填空题分数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.completionScore" placeholder="填空题分数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">正确答案</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.trueAnswer" placeholder="正确答案"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">填写答案</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.myAnswer" placeholder="填写答案"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">考试开始时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.examStart" placeholder="考试开始时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">试卷提交时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.examEnd" placeholder="试卷提交时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">修改时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.updateTime" placeholder="修改时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.userId" placeholder="用户"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">部门id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.deptId" placeholder="部门id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否可用</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="eScore.disFlag" placeholder="是否可用"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div> -->
    
    
    
    <!-- 详情开始 -->
<div v-show="showDetial">
	<div class="panel panel-default" >
	    <div class="panel-heading">
	        <h3 class="panel-title">
	            成绩信息
	        </h3>
	    </div>
	    <div class="panel-body">
	        <div class="form-group">
	            <label>姓名</label>
	            <input  class="form-control" readonly v-model="scoreDetils.studentName"/>
	            <label>考试得分</label>
	            <input   class="form-control" readonly v-model="scoreDetils.examScore"/>
	            <label>考试试卷</label>
	            <input   class="form-control" readonly v-model="scoreDetails.paperDesignName"/>
	        </div>
	        <div class="form-group">
	            <label>交卷时间</label>
	            <input   class="form-control" readonly v-model="scoreDetils.subExamTime"/>
	            <label>学生部门</label>
	            <input type="text" class="form-control" readonly v-model="scoreDetils.deptName"/>
	            <label>生成试卷</label>
	            <input type="text" class="form-control" readonly v-model="scoreDetails.paperProduceNmae"/>
	        </div>
	        <div class="form-group">
	            <label>考试名称</label>
	            <input  class="form-control" readonly v-model="scoreDetils.examName"/>
	            <label>是否通过</label>
	            <input  class="form-control" readonly v-model="scoreDetils.examResult"/>
	        </div>
	    </div>
	</div>
	<div id="part3" class="part">
	    <h2>考试上传</h2>
	    <div class="container">
	    	
	    	<div id="item1" class="sHoverItem" v-for="(item, index) in pictureList">
	            <img id="img1" :src="item.pictureUrl">
	            <span id="intro1" class="sIntro">
	            <!-- {{item.pictureUrl}} -->
				</span>
	        </div>
	    </div>
	</div>
	
	<a class="btn btn-primary fanhui" @click="backList"><i class="fa fa-pencil-square-o"></i>&nbsp;返回</a>

</div>
    
    
</div>


<!-- 选择部门 -->
<div id="deptLayer" style="display: none;padding:10px;">
	<ul id="deptTree" class="ztree"></ul>
</div>

<script src="${request.contextPath}/statics/js/modules/exam/score.js?_${.now?long}"></script>
</body>
</html>